POSTBUILD_NAME = atmega32u4
MCU          = atmega32u4

#POSTBUILD_NAME = at90usb646
#MCU          = at90usb646

ARCH         = AVR8
BOARD        = NONE
F_CPU        = 16000000
F_USB        = $(F_CPU)
OPTIMIZATION = s
TARGET       = MM_Track_firmware
SRC          = $(TARGET).cpp I2Cdev\I2Cdev.cpp MPU6050\MPU6050.cpp ADXL345\ADXL345.cpp HMC5883L\HMC5883L.cpp ITG3200\ITG3200.cpp MahonyAHRS.c MM_Track.c Descriptors.c $(LUFA_SRC_USB)
LUFA_PATH    = LUFA
CC_FLAGS     = -DUSE_LUFA_CONFIG_HEADER -IConfig/
LD_FLAGS     =

# Default target
all:

# Include LUFA build script makefiles
include $(LUFA_PATH)/Build/lufa_core.mk
include $(LUFA_PATH)/Build/lufa_sources.mk
include $(LUFA_PATH)/Build/lufa_build.mk
include $(LUFA_PATH)/Build/lufa_cppcheck.mk
#include $(LUFA_PATH)/Build/lufa_doxygen.mk
include $(LUFA_PATH)/Build/lufa_dfu.mk
include $(LUFA_PATH)/Build/lufa_hid.mk
#include $(LUFA_PATH)/Build/lufa_avrdude.mk
#include $(LUFA_PATH)/Build/lufa_atprogram.mk
include $(LUFA_PATH)/Build/lufa_postbuild.mk
